package org.dtrd.modules.record.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dtrd.modules.record.entity.bean.SugarValuePhotoDetail;
import org.dtrd.modules.record.entity.po.DtrdEntRdSigninSugarValuePhoto;

import java.util.List;

/**
 * <p>
 * 血糖记录表服务类
 * </p>
 *
 * @author xiao
 * @since 2022-07-25
 */
public interface IDtrdEntRdSigninSugarValuePhotoService extends IService<DtrdEntRdSigninSugarValuePhoto> {

    SugarValuePhotoDetail getSugarValuePhoto(Integer patientId, String recordDate);

    boolean saveOrUpdateSugarValuePhoto(SugarValuePhotoDetail dto);

    List<SugarValuePhotoDetail> getSugarValuePhotoList(Integer patientId, String startDate, String endDate);
}
